/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hiberengine;

import java.sql.SQLException;
import java.util.Collection;

/**
 *
 * @author Alexx
 */
public interface PersoneDAO {
    
  public void addBus(hibernate.Persone persone) throws SQLException;
  public void updateBus(String id, hibernate.Persone persone) throws SQLException;
  public hibernate.Persone getBusById(String id) throws SQLException;
  public Collection getAllBusses() throws SQLException;
  public void deleteBus(hibernate.Persone persone) throws SQLException;
    
}
